package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompWarehouseDTO;
import com.softtown.modules.dapai.entity.CompWarehouseEntity;


/**
* @Author: Ding Ya Yong
* @Description: 仓库信息
* @date: 2022/1/2 11:40
* @Param:
* @return:
*/
public interface CompWarehouseService extends BaseService<CompWarehouseEntity> {

    PageInfo<CompWarehouseDTO> getWarehousePageList(CompWarehouseDTO compWarehouseDTO);

    CompWarehouseEntity getWarehouseById(Long compId, Long id);

    void addWarehouse(CompWarehouseDTO compWarehouseDTO);

    void updateWarehouse(CompWarehouseDTO compWarehouseDTO);

    void deleteWarehouse(CompWarehouseDTO compWarehouseDTO);

}
